Skip to content

Conversation

@jackw
Copy link
Collaborator

@jackw jackw commented Oct 3, 2025

What this PR does / why we need it:
A day of hacking and with the help of AI we've got a user interface for running updates.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@jackw jackw self-assigned this Oct 3, 2025
@jackw jackw added the create-plugin related to the create-plugin tool label Oct 3, 2025
@grafana-plugins-platform-bot grafana-plugins-platform-bot bot moved this from 📬 Triage to 🔬 In review in Plugins Platform / Grafana Community Oct 3, 2025
@jackw jackw force-pushed the jackw/migrate-ui branch from 2d01a86 to 200ab60 Compare October 6, 2025 10:33
@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2025

Hello! 👋 This repository uses Auto for releasing packages using PR labels.

❌ This PR cannot be merged until the following issues are addressed:

  • This PR is missing one of the following labels: patch, minor, major, no-changelog.
  • Optionally if using a patch, minor or major label also add the release label if you would like this PR to trigger npm package publishing.
🏷️ More info about which labels to use
  • If the changes only affect the docs website, documentation, or this repository's tooling add the no-changelog label.
  • If there are changes to any of the npm packages src files please choose from one of the following labels:
    • 🐛 if this PR fixes a bug add the patch label
    • 🚀 if this PR includes an enhancement add the minor label
    • 💥 if this PR includes a breaking change add the major label
  • Optionally, if you would like this PR to publish new versions of packages when it is merged add the release label.

jackw added 22 commits October 7, 2025 12:44
jackw added 26 commits October 7, 2025 12:48
- Add express for HTTP server
- Add ws for WebSocket support
- Add cors for cross-origin requests
- Add get-port for automatic port detection
- Add corresponding TypeScript type definitions
- Add 'ui' to boolean flags in minimist configuration
- Enables create-plugin update --ui command for web interface
- Add UIServer class with Express.js and WebSocket support
- Implement automatic port detection using get-port
- Add basic middleware setup (CORS, JSON parsing, static files)
- Add health check and placeholder migration endpoints
- Add WebSocket connection handling with message routing
- Add TypeScript interfaces for server configuration and data types
- Add index.html with web component structure and loading state
- Add comprehensive CSS with modern design system
- Include button styles, status badges, cards, and responsive design
- Add utility classes for common layout patterns
- Add app.js with main application logic and WebSocket integration
- Support for migration selection, preview, and execution workflows
- Add MigrationDashboard component with summary stats and execution controls
- Add MigrationList component with select all/deselect all functionality
- Add MigrationCard component with toggle selection and preview capabilities
- Implement responsive design with modern CSS styling
- Add event-driven communication between components
- Support for migration status tracking and error handling
- Add UI mode detection in update command
- Implement launchUI function with pre-flight checks
- Add automatic browser opening with cross-platform support
- Add graceful shutdown handling with SIGINT
- Integrate UIServer with proper error handling
- Keep process alive to maintain server connection
- Fix duplicate import linting error
- Add rollup-plugin-copy to copy static files to dist directory
- Add explicit route to serve index.html for root path
- Fix static file serving path in Express middleware
- Install rollup-plugin-copy as dev dependency
@jackw jackw force-pushed the jackw/migrate-ui branch from 11a4f55 to c0524f1 Compare October 8, 2025 13:15
@jackw jackw changed the title Hack hack hack: create-plugin update user interface Create Plugin: hackathon update browser ui Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-plugin related to the create-plugin tool

Projects

Status: 🔬 In review

Development

Successfully merging this pull request may close these issues.

1 participant